home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amoszine 4
/
Amoszine 4 (Disk 1 of 3).adf
/
READERS_SOURCE.LHA
/
READERS_SOURCE
/
Paul_Overy's_code
/
Add_Spaces.AMOS
/
Add_Spaces.amosSourceCode
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
NeXTSTEP
RISC OS
UTF-8
Wrap
AMOS Source Code
|
1992-02-26
|
407 b
|
15 lines
' Program: Adds 6 spaces to text files (Amoszine likes to have it this way)
' This has been a 30 second job.
'Carbon14: Paul Overy.
'
Screen Open 0,640,256,2,Hires
Set Input 10,-1
F$=Fsel$("","","Select Ascii text file","6 Spaces will be added")
Open In 1,F$
Open Out 2,F$+".6"
While Not Eof(1)
Line Input #1,A$
Print Space$(6)+A$
Print #2,Space$(6)+A$+Chr$(10);
Wend
Close 1 : Close 2